<template>
  <div class="block">
    <el-carousel :interval="5000" arrow="always" height="33vw">
    <el-carousel-item v-for="item in urls" :key="item">
      <h3><img :src="item" alt=""></h3>
    </el-carousel-item>
  </el-carousel>
  </div>
</template>

<script>

export default {
  data(){
    return{
      urls:[
        '/shop_img/5.jpg',
        '/shop_img/4.jpg',
        '/shop_img/3.jpg',
      ]
    }
  }
}
</script>

<style lang="scss" scoped>
  .block{
    width: 90%;
    margin: auto;
    margin-top: 3vw;
    border-radius: 50%;
  }
  .el-carousel{
    border-radius: 10px;
  }
  .el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    line-height: 150px;
    margin: 0;
    height: 33vw;
  }
  img{
    width: 100%;
    height: 100%;
  }
  
</style>
